home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / gnustuff / tos / updates / update19.zoo / gcc2.1 / GMakefile.st.hp < prev    next >
Encoding:
Text File  |  1992-03-28  |  16.8 KB  |  446 lines

  1. # Makefile for GNU C++ NATIVE COMPILER for the atariST/TT series hosted
  2. #  on a HPUX host (tested only on a HP Snake running hpux 8.x)
  3. #  NOTE: requires alloca.c from the emacs dist.
  4. #
  5.  
  6. # Makefile for GNU C compiler.
  7. #   Copyright (C) 1987 Free Software Foundation, Inc.
  8.  
  9. #This file is part of GNU CC.
  10.  
  11. #GNU CC is distributed in the hope that it will be useful,
  12. #but WITHOUT ANY WARRANTY.  No author or distributor
  13. #accepts responsibility to anyone for the consequences of using it
  14. #or for whether it serves any particular purpose or works at all,
  15. #unless he says so in writing.  Refer to the GNU CC General Public
  16. #License for full details.
  17.  
  18. #Everyone is granted permission to copy, modify and redistribute
  19. #GNU CC, but only under the conditions described in the
  20. #GNU CC General Public License.   A copy of this license is
  21. #supposed to have been given to you along with GNU CC so you
  22. #can know your rights and responsibilities.  It should be in a
  23. #file named COPYING.  Among other things, the copyright notice
  24. #and this notice must be preserved on all copies.
  25.  
  26. .NOEXPORT: # This tells GNU Make version 3
  27.        # not to put all the variables in the environment.
  28.  
  29.  
  30. CROSSDIR = /net/acae127/home/bammi/atari.hp-ux/cross-gcc
  31. CROSSBIN = $(CROSSDIR)/bin
  32. CROSSLIB = $(CROSSDIR)/lib
  33. CROSSINC = $(CROSSDIR)/include
  34.  
  35. CFLAGS = -O -I$(CROSSINC) -I./config -I. -Datarist=1
  36. HOSTCFLAGS = -O +Obb1000 -DUSE_C_ALLOCA -DCROSSHPUX -I./config -I.
  37. CC = /net/acae127/home/bammi/atari.hp-ux/cross-gcc/bin/cgcc
  38. # hosts cc
  39. HOSTCC=/bin/cc 
  40. HOSTALLOCA = /net/acae127/home/bammi/lib.hp-ux/alloca.o
  41. #MALLOC1 = /net/acae127/home/bammi/lib.hp-ux/malloc_new6.o
  42. MALLOC1 = 
  43. # OLDCC should not be the GNU C compiler.
  44. OLDCC = cc
  45. BISON = bison
  46. BISONFLAGS=
  47. AR = ar
  48. SHELL = /bin/sh
  49.  
  50. bindir = 
  51. libdir = 
  52.  
  53. # These are what you would need on HPUX:
  54. # CFLAGS = -Wc,-Ns2000 -Wc,-Ne700
  55. # -g is desirable in CFLAGS, but a compiler bug in HPUX version 5
  56. # bites whenever tree.def, rtl.def or machmode.def is included
  57. # (ie., on every source file).
  58. # CCLIBFLAGS = -Wc,-Ns2000 -Wc,-Ne700
  59. # For CCLIBFLAGS you might want to specify the switch that
  60. # forces only 68000 instructions to be used.
  61.  
  62. # If you are making gcc for the first time, and if you are compiling it with
  63. # a non-gcc compiler, and if your system doesn't have a working alloca() in any
  64. # of the standard libraries (as is true for HP/UX or Genix),
  65. # then get alloca.c from GNU Emacs and un-comment the following line:
  66. # ALLOCA = alloca.o
  67.  
  68. # If your system has alloca() in /lib/libPW.a, un-comment the following line:
  69. # CLIB= -lPW
  70.   
  71. # If your system's malloc() routine fails for any reason (as it does on
  72. # certain versions of Genix), try getting the files
  73. # malloc.c and getpagesize.h from GNU Emacs and un-comment the following line:
  74. # MALLOC = malloc.o
  75.  
  76. # If you are running GCC on an Apollo, you will need this:
  77. # CFLAGS = -g -O -M 3000 -U__STDC__ -DSHORT_ENUM_BUG
  78.  
  79. # Change this to a null string if obstacks are installed in the
  80. # system library.
  81. OBSTACK=obstack.o
  82. OBSTACK1=obstack.oo
  83.  
  84. # Dependency on obstack, alloca, malloc or whatever library facilities
  85. # are not installed in the system libraries.
  86. LIBDEPS= $(OBSTACK)
  87. LIBDEPS1= $(OBSTACK1) $(HOSTALLOCA) $(MALLOC)
  88.  
  89. # How to link with both our special library facilities
  90. # and the system's installed libraries.
  91. LIBS = $(OBSTACK)
  92. LIBS1 = $(OBSTACK1) $(HOSTALLOCA) $(MALLOC) $(MALLOC1) $(CLIB)
  93.  
  94. DIR = ../gcc
  95.  
  96. # Object files of CC1.
  97.  
  98. # Language-specific object files for C++.
  99. CPLUS_OBJS = cp-parse.o cp-decl.o cp-decl2.o \
  100.    cp-typeck.o cp-type2.o cp-tree.o cp-ptree.o \
  101.    cp-cvt.o cp-search.o cp-lex.o cp-gc.o cp-call.o \
  102.    cp-class.o cp-init.o cp-method.o cp-except.o \
  103.    cp-expr.o cp-pt.o cp-edsel.o cp-xref.o \
  104.    $(CPLUS_INPUT) cp-spew.o c-common.o
  105.  
  106. # Language-independent object files.
  107. OBJS = toplev.o version.o tree.o print-tree.o stor-layout.o fold-const.o \
  108.  function.o stmt.o expr.o calls.o expmed.o explow.o optabs.o varasm.o \
  109.  rtl.o print-rtl.o rtlanal.o dbxout.o sdbout.o dwarfout.o emit-rtl.o \
  110.  integrate.o jump.o cse.o loop.o unroll.o flow.o stupid.o combine.o \
  111.  regclass.o local-alloc.o global-alloc.o reload.o reload1.o caller-save.o \
  112.  insn-peep.o reorg.o sched.o final.o recog.o reg-stack.o \
  113.  insn-recog.o insn-extract.o insn-output.o insn-emit.o \
  114.  insn-attrtab.o aux-output.o getpwd.o
  115.  
  116. GCC_PASSES=gcc cc1 cpp
  117.  
  118. # Files to be copied away after each stage in building.
  119. STAGESTUFF = *.o insn-flags.h insn-config.h insn-codes.h \
  120.  insn-output.c insn-recog.c insn-emit.c insn-extract.c insn-peep.c \
  121.  insn-attr.h insn-attrtab.c \
  122.  stamp-flags stamp-config stamp-codes \
  123.  stamp-output stamp-recog stamp-emit stamp-extract stamp-peep \
  124.  stamp-attr stamp-attrtab \
  125.  genemit genoutput genrecog genextract genflags gencodes genconfig genpeep \
  126.  genattrtab genattr \
  127.  $(GCC_PASSES) $(EXTRA_PARTS) gcc-cross cccp cc1plus cc1obj enquire \
  128.  protoize unprotoize specs collect2
  129.  
  130. # Header files that are made available to programs compiled with gcc.
  131. USER_H = stddef.h stdarg.h assert.h va-*.h limits.h
  132.  
  133. # If you want to recompile everything, just do rm *.o.
  134. # CONFIG_H = config.h tm.h
  135. CONFIG_H =
  136. RTL_H = rtl.h rtl.def machmode.h machmode.def
  137. TREE_H = tree.h real.h tree.def machmode.h machmode.def
  138. CPLUS_TREE_H = $(TREE_H) cp-tree.h cp-tree.def
  139.  
  140. ALL =  gcc-cc1plus.ttp
  141.  
  142. all : $(ALL)
  143.  
  144. gcc-cc1plus.ttp: $(CPLUS_OBJS) $(OBJS) $(LIBDEPS)
  145.     $(CC) $(CFLAGS) $(LDFLAGS) -o gcc-cc1plus.ttp $(CPLUS_OBJS) $(OBJS) $(LIBS)
  146. # C++ language specific files.
  147.  
  148. cp-parse.o : cp-parse.c $(CONFIG_H) $(CPLUS_TREE_H) flags.h
  149.     $(CC) -c $(CFLAGS) cp-parse.c
  150.  
  151. cp-parse.c cp-parse.h : cp-parse.y
  152.     @echo expect 30 shift/reduce conflicts and 14 reduce/reduce conflicts
  153.     $(BISON) $(BISONFLAGS) -d -o cp-parse.c cp-parse.y
  154.  
  155. cp-spew.o : cp-spew.c $(CONFIG_H) $(CPLUS_TREE_H) \
  156.    cp-parse.h flags.h
  157. cp-lex.o : cp-lex.c $(CONFIG_H) $(CPLUS_TREE_H) \
  158.    cp-parse.h cp-input.c flags.h
  159. cp-decl.o : cp-decl.c $(CONFIG_H) $(CPLUS_TREE_H) flags.h \
  160.   cp-lex.h cp-decl.h stack.h
  161. cp-decl2.o : cp-decl2.c $(CONFIG_H) $(CPLUS_TREE_H) flags.h \
  162.   cp-lex.h cp-decl.h
  163. cp-type2.o : cp-type2.c $(CONFIG_H) $(CPLUS_TREE_H) flags.h
  164. cp-typeck.o : cp-typeck.c $(CONFIG_H) $(CPLUS_TREE_H) flags.h
  165. cp-class.o : cp-class.c $(CONFIG_H) $(CPLUS_TREE_H) stack.h \
  166.     cp-class.h flags.h
  167. cp-call.o : cp-call.c $(CONFIG_H) $(CPLUS_TREE_H) stack.h cp-class.h \
  168.     flags.h
  169. cp-init.o : cp-init.c $(CONFIG_H) $(CPLUS_TREE_H) flags.h
  170. cp-method.o : cp-method.c $(CONFIG_H) $(CPLUS_TREE_H)
  171. cp-cvt.o : cp-cvt.c $(CONFIG_H) $(CPLUS_TREE_H)
  172. cp-search.o : cp-search.c $(CONFIG_H) $(CPLUS_TREE_H) stack.h flags.h
  173. cp-tree.o : cp-tree.c $(CONFIG_H) $(CPLUS_TREE_H) flags.h
  174. cp-ptree.o : cp-ptree.c $(CONFIG_H) $(CPLUS_TREE_H)
  175. cp-gc.o : cp-gc.c $(CONFIG_H) $(CPLUS_TREE_H) flags.h
  176. cp-except.o : cp-except.c $(CONFIG_H) $(CPLUS_TREE_H) flags.h
  177. cp-expr.o : cp-expr.c $(CONFIG_H) $(CPLUS_TREE_H) $(RTL_H) flags.h \
  178.   expr.h insn-codes.h
  179. cp-edsel.o : cp-edsel.c $(CONFIG_H) $(CPLUS_TREE_H) stack.h flags.h
  180. cp-xref.o : cp-xref.c $(CONFIG_H) $(CPLUS_TREE_H)
  181. cp-pt.o : cp-pt.c $(CONFIG_H) $(CPLUS_TREE_H) cp-decl.h cp-parse.h
  182.  
  183. # A file used by all variants of C.
  184.  
  185. c-common.o : c-common.c $(CONFIG_H) $(TREE_H) c-tree.h c-lex.h flags.h
  186.  
  187.  
  188. # Language-independent files.
  189. dumpvers: dumpvers.c
  190.  
  191. version.o: version.c
  192. obstack.o: obstack.c
  193.  
  194. tree.o : tree.c $(CONFIG_H) $(TREE_H) gvarargs.h flags.h function.h
  195. print-tree.o : print-tree.c $(CONFIG_H) $(TREE_H)
  196. stor-layout.o : stor-layout.c $(CONFIG_H) $(TREE_H) function.h
  197. fold-const.o : fold-const.c $(CONFIG_H) $(TREE_H) flags.h 
  198. toplev.o : toplev.c $(CONFIG_H) $(TREE_H) $(RTL_H) flags.h input.h \
  199.  insn-attr.h xcoffout.h
  200.  
  201. rtl.o : rtl.c $(CONFIG_H) $(RTL_H)
  202.  
  203. print-rtl.o : print-rtl.c $(CONFIG_H) $(RTL_H)
  204. rtlanal.o : rtlanal.c $(CONFIG_H) $(RTL_H)
  205.  
  206. varasm.o : varasm.c $(CONFIG_H) $(TREE_H) $(RTL_H) flags.h \
  207.    insn-codes.h expr.h hard-reg-set.h regs.h xcoffout.h
  208. function.o : function.c $(CONFIG_H) $(RTL_H) $(TREE_H) flags.h function.h  \
  209.    insn-flags.h insn-codes.h expr.h regs.h hard-reg-set.h insn-config.h \
  210.    recog.h output.h
  211. stmt.o : stmt.c $(CONFIG_H) $(RTL_H) $(TREE_H) flags.h function.h  \
  212.    insn-flags.h insn-config.h insn-codes.h hard-reg-set.h expr.h loop.h recog.h
  213. expr.o : expr.c $(CONFIG_H) $(RTL_H) $(TREE_H) gvarargs.h flags.h function.h  \
  214.    insn-flags.h insn-codes.h expr.h insn-config.h recog.h output.h typeclass.h
  215. calls.o : calls.c $(CONFIG_H) $(RTL_H) $(TREE_H) flags.h expr.h insn-codes.h \
  216.    insn-flags.h
  217. expmed.o : expmed.c $(CONFIG_H) $(RTL_H) $(TREE_H) flags.h  \
  218.    insn-flags.h insn-config.h insn-codes.h expr.h recog.h real.h
  219. explow.o : explow.c $(CONFIG_H) $(RTL_H) $(TREE_H) flags.h hard-reg-set.h \
  220.    insn-config.h expr.h recog.h insn-flags.h insn-codes.h
  221. optabs.o : optabs.c $(CONFIG_H) $(RTL_H) $(TREE_H) flags.h  \
  222.    insn-flags.h insn-config.h insn-codes.h expr.h recog.h
  223. dbxout.o : dbxout.c $(CONFIG_H) $(TREE_H) $(RTL_H) flags.h regs.h \
  224.    insn-config.h reload.h gstab.h xcoffout.h
  225. sdbout.o : sdbout.c $(CONFIG_H) $(TREE_H) $(RTL_H) gsyms.h flags.h \
  226.    insn-config.h reload.h
  227. dwarfout.o : dwarfout.c $(CONFIG_H) $(TREE_H) $(RTL_H) dwarf.h flags.h \
  228.    insn-config.h reload.h output.h
  229. xcoffout.o : xcoffout.c $(CONFIG_H) $(TREE_H) $(RTL_H) xcoffout.h flags.h
  230. emit-rtl.o : emit-rtl.c $(CONFIG_H) $(RTL_H) flags.h gvarargs.h function.h  \
  231.    regs.h insn-config.h insn-codes.h real.h expr.h
  232.  
  233. integrate.o : integrate.c $(CONFIG_H) $(RTL_H) $(TREE_H) flags.h integrate.h \
  234.    insn-flags.h insn-config.h insn-codes.h expr.h real.h function.h
  235.  
  236. jump.o : jump.c $(CONFIG_H) $(RTL_H) flags.h hard-reg-set.h regs.h \
  237.    insn-config.h insn-flags.h insn-codes.h expr.h real.h
  238. stupid.o : stupid.c $(CONFIG_H) $(RTL_H) regs.h hard-reg-set.h flags.h
  239.  
  240. cse.o : cse.c $(CONFIG_H) $(RTL_H) regs.h hard-reg-set.h flags.h real.h \
  241.    insn-config.h recog.h
  242. loop.o : loop.c $(CONFIG_H) $(RTL_H) flags.h loop.h insn-config.h \
  243.    insn-flags.h insn-codes.h regs.h hard-reg-set.h recog.h expr.h real.h
  244. unroll.o : unroll.c $(CONFIG_H) $(RTL_H) insn-config.h insn-codes.h \
  245.    integrate.h regs.h flags.h expr.h loop.h
  246. flow.o : flow.c $(CONFIG_H) $(RTL_H) flags.h insn-config.h \
  247.    basic-block.h regs.h hard-reg-set.h output.h
  248. combine.o : combine.c $(CONFIG_H) $(RTL_H) gvarargs.h flags.h  \
  249.    insn-config.h insn-flags.h insn-codes.h insn-attr.h regs.h expr.h \
  250.    basic-block.h recog.h real.h
  251. regclass.o : regclass.c $(CONFIG_H) $(RTL_H) hard-reg-set.h flags.h \
  252.    basic-block.h regs.h insn-config.h recog.h 
  253. local-alloc.o : local-alloc.c $(CONFIG_H) $(RTL_H) flags.h basic-block.h \
  254.    regs.h hard-reg-set.h insn-config.h recog.h output.h
  255. global-alloc.o : global-alloc.c $(CONFIG_H) $(RTL_H) flags.h  \
  256.    basic-block.h regs.h hard-reg-set.h insn-config.h output.h
  257.  
  258. reload.o : reload.c $(CONFIG_H) $(RTL_H) flags.h \
  259.    reload.h recog.h hard-reg-set.h insn-config.h insn-codes.h regs.h real.h
  260. reload1.o : reload1.c $(CONFIG_H) $(RTL_H) flags.h expr.h \
  261.    reload.h regs.h hard-reg-set.h insn-config.h insn-flags.h insn-codes.h \
  262.    basic-block.h recog.h output.h
  263. caller-save.o : caller-save.c $(CONFIG_H) $(RTL_H) flags.h \
  264.    regs.h hard-reg-set.h insn-config.h basic-block.h recog.h reload.h expr.h
  265. reorg.o : reorg.c $(CONFIG_H) $(RTL_H) conditions.h hard-reg-set.h \
  266.    basic-block.h regs.h insn-config.h insn-attr.h insn-flags.h recog.h \
  267.    flags.h output.h
  268. sched.o : sched.c $(CONFIG_H) $(RTL_H) basic-block.h regs.h hard-reg-set.h \
  269.    flags.h insn-config.h insn-attr.h
  270. final.o : final.c $(CONFIG_H) $(RTL_H) gvarargs.h flags.h regs.h \
  271.    recog.h conditions.h insn-config.h insn-attr.h real.h output.h \
  272.    hard-reg-set.h insn-codes.h gstab.h xcoffout.h
  273. recog.o : recog.c $(CONFIG_H) $(RTL_H)  \
  274.    regs.h recog.h hard-reg-set.h flags.h insn-config.h insn-attr.h \
  275.    insn-flags.h insn-codes.h real.h
  276. reg-stack.o : reg-stack.c $(CONFIG_H) $(RTL_H) $(TREE_H) \
  277.    regs.h hard-reg-set.h flags.h insn-config.h
  278.    
  279. aux-output.o : aux-output.c $(CONFIG_H) \
  280.    $(RTL_H) regs.h hard-reg-set.h real.h insn-config.h conditions.h \
  281.    insn-flags.h output.h insn-attr.h insn-codes.h
  282.  
  283. # Now the source files that are generated from the machine description.
  284.  
  285. .PRECIOUS: insn-config.h insn-flags.h insn-codes.h \
  286.   insn-emit.c insn-recog.c insn-extract.c insn-output.c insn-peep.c \
  287.   insn-attr.h insn-attrtab.c
  288.  
  289. insn-config.h : md genconfig
  290.     ./genconfig md > tmp-insn-config.h
  291.     ./move-if-change tmp-insn-config.h insn-config.h
  292.  
  293. insn-flags.h : md genflags
  294.     ./genflags md > tmp-insn-flags.h
  295.     ./move-if-change tmp-insn-flags.h insn-flags.h
  296.  
  297. insn-codes.h : md gencodes
  298.     ./gencodes md > tmp-insn-codes.h
  299.     ./move-if-change tmp-insn-codes.h insn-codes.h
  300.  
  301. insn-emit.o : insn-emit.c $(CONFIG_H) $(RTL_H) expr.h insn-config.h
  302.     $(CC) $(CFLAGS) -c insn-emit.c
  303.  
  304. insn-emit.c : md genemit
  305.     ./genemit md > tmp-insn-emit.c
  306.     ./move-if-change tmp-insn-emit.c insn-emit.c
  307.  
  308. insn-recog.o : insn-recog.c $(CONFIG_H) $(RTL_H) insn-config.h
  309.     $(CC) $(CFLAGS) -c insn-recog.c
  310.  
  311. insn-recog.c : md genrecog
  312.     ./genrecog md > tmp-insn-recog.c
  313.     ./move-if-change tmp-insn-recog.c insn-recog.c
  314.  
  315. insn-extract.o : insn-extract.c $(RTL_H)
  316.     $(CC) $(CFLAGS) -c insn-extract.c
  317.  
  318. insn-extract.c : md genextract
  319.     ./genextract md > tmp-insn-extract.c
  320.     ./move-if-change tmp-insn-extract.c insn-extract.c
  321.  
  322. insn-peep.o : insn-peep.c $(CONFIG_H) $(RTL_H) regs.h
  323.     $(CC) $(CFLAGS) -c insn-peep.c
  324.  
  325. insn-peep.c : md genpeep
  326.     ./genpeep md > tmp-insn-peep.c
  327.     ./move-if-change tmp-insn-peep.c insn-peep.c
  328.  
  329. insn-output.o : insn-output.c $(CONFIG_H) $(RTL_H) regs.h insn-config.h insn-flags.h conditions.h output.h aux-output.c
  330.     $(CC) $(CFLAGS) -c insn-output.c
  331.  
  332. insn-output.c : md genoutput
  333.     ./genoutput md > tmp-insn-output.c
  334.     ./move-if-change tmp-insn-output.c insn-output.c
  335.  
  336. insn-attrtab.o : insn-attrtab.c $(CONFIG_H) $(RTL_H) regs.h real.h output.h \
  337.      insn-attr.h insn-config.h
  338.     $(CC) $(CFLAGS) -c insn-attrtab.c
  339.  
  340. insn-attr.h: md genattr
  341.     ./genattr md > tmp-attr.h
  342.     ./move-if-change tmp-attr.h insn-attr.h
  343.  
  344. insn-attrtab.c: md genattrtab
  345.     ./genattrtab md > tmp-attrtab.c
  346.     ./move-if-change tmp-attrtab.c insn-attrtab.c
  347.  
  348.  
  349. # Now the programs that generate those files.
  350.  
  351. genconfig : genconfig.oo rtl.oo $(LIBDEPS1)
  352.     $(HOSTCC) $(HOSTCFLAGS) $(LDFLAGS) -o genconfig genconfig.oo rtl.oo $(LIBS1)
  353.  
  354. genconfig.oo : genconfig.c $(RTL_H)
  355.     $(HOSTCC) $(HOSTCFLAGS) -c genconfig.c -o genconfig.oo
  356.  
  357. genflags : genflags.oo rtl.oo $(LIBDEPS1)
  358.     $(HOSTCC) $(HOSTCFLAGS) $(LDFLAGS) -o genflags genflags.oo rtl.oo $(LIBS1)
  359.  
  360. genflags.oo : genflags.c $(RTL_H)
  361.     $(HOSTCC) $(HOSTCFLAGS) -c genflags.c -o genflags.oo
  362.  
  363. gencodes : gencodes.oo rtl.oo $(LIBDEPS1)
  364.     $(HOSTCC) $(HOSTCFLAGS) $(LDFLAGS) -o gencodes gencodes.oo rtl.oo $(LIBS1)
  365.  
  366. gencodes.oo : gencodes.c $(RTL_H)
  367.     $(HOSTCC) $(HOSTCFLAGS) -c gencodes.c -o gencodes.oo
  368.  
  369. genemit : genemit.oo rtl.oo $(LIBDEPS1)
  370.     $(HOSTCC) $(HOSTCFLAGS) $(LDFLAGS) -o genemit genemit.oo rtl.oo $(LIBS1)
  371.  
  372. genemit.oo : genemit.c $(RTL_H)
  373.     $(HOSTCC) $(HOSTCFLAGS) -c genemit.c -o genemit.oo
  374.  
  375. genrecog : genrecog.oo rtl.oo $(LIBDEPS1)
  376.     $(HOSTCC) $(HOSTCFLAGS) $(LDFLAGS) -o genrecog genrecog.oo rtl.oo $(LIBS1)
  377.  
  378. genrecog.oo : genrecog.c $(RTL_H)
  379.     $(HOSTCC) $(HOSTCFLAGS) -c genrecog.c -o genrecog.oo
  380.  
  381. genextract : genextract.oo rtl.oo $(LIBDEPS1)
  382.     $(HOSTCC) $(HOSTCFLAGS) $(LDFLAGS) -o genextract genextract.oo rtl.oo $(LIBS1)
  383.  
  384. genextract.oo : genextract.c $(RTL_H)
  385.     $(HOSTCC) $(HOSTCFLAGS) -c genextract.c -o genextract.oo
  386.  
  387. genpeep : genpeep.oo rtl.oo $(LIBDEPS1)
  388.     $(HOSTCC) $(HOSTCFLAGS) $(LDFLAGS) -o genpeep genpeep.oo rtl.oo $(LIBS1)
  389.  
  390. genpeep.oo : genpeep.c $(RTL_H)
  391.     $(HOSTCC) $(HOSTCFLAGS) -c genpeep.c -o genpeep.oo
  392.  
  393. genoutput : genoutput.oo rtl.oo $(LIBDEPS1)
  394.     $(HOSTCC) $(HOSTCFLAGS) $(LDFLAGS) -o genoutput genoutput.oo rtl.oo $(LIBS1)
  395.  
  396. genoutput.oo : genoutput.c $(RTL_H)
  397.     $(HOSTCC) $(HOSTCFLAGS) -c genoutput.c -o genoutput.oo
  398.  
  399. genattr : genattr.oo rtl.oo $(LIBDEPS1)
  400.     $(HOSTCC) $(HOSTCFLAGS) $(LDFLAGS) -o genattr \
  401.      genattr.oo rtl.oo $(LIBS1)
  402.  
  403. genattr.oo : genattr.c $(RTL_H) config.h
  404.     $(HOSTCC) -c $(HOSTCFLAGS) genattr.c -o genattr.oo
  405.  
  406. genattrtab : genattrtab.oo rtl.oo rtlanal.oo $(LIBDEPS1)
  407.     $(HOSTCC) $(HOSTCFLAGS) $(LDFLAGS) -o genattrtab \
  408.      genattrtab.oo rtl.oo rtlanal.oo $(LIBS1)
  409.  
  410. genattrtab.oo : genattrtab.c $(RTL_H) config.h insn-config.h
  411.     $(HOSTCC) -c $(HOSTCFLAGS) genattrtab.c -o genattrtab.oo
  412.  
  413. rtl.oo : rtl.c $(CONFIG_H) $(RTL_H)
  414.     $(HOSTCC) $(HOSTCFLAGS) -c rtl.c -o rtl.oo
  415.  
  416. rtlanal.oo : rtlanal.c $(CONFIG_H) $(RTL_H)
  417.     $(HOSTCC) $(HOSTCFLAGS) -c rtlanal.c -o rtlanal.oo
  418.  
  419. obstack.oo : obstack.c
  420.     $(HOSTCC) $(HOSTCFLAGS) -c obstack.c -o obstack.oo
  421.  
  422. # gnulib is not deleted because deleting it would be inconvenient
  423. # for most uses of this target.
  424. clean:
  425.     -rm -f *.o *.oo $(STAGESTUFF)
  426.     -rm -f *.s *.s[0-9] *.co *.greg *.lreg *.combine *.flow *.cse *.jump *.rtl *.tree *.loop
  427.  
  428. # Get rid of every file that's generated from some other file (except INSTALL).
  429. realclean: clean
  430.     -rm -f $(ALL)
  431.     -rm -f cpp.aux cpp.cps cpp.fns cpp.info cpp.kys cpp.pgs cpp.tps cpp.vrs
  432.     -rm -f errs gnulib TAGS 
  433.     -rm -f core report
  434.     -rm -f internals internals-* internals.?? internals.??s
  435.  
  436. # Copy the files into directories where they will be run.
  437. #install: all
  438. #    install cc1 $(libdir)/gcc-cc1
  439. #    install cpp $(libdir)/gcc-cpp
  440. #    install gcc $(bindir)
  441.  
  442. force:
  443.  
  444. #In GNU Make, ignore whether `stage*' exists.
  445. .PHONY: clean realclean
  446.